﻿// -- MVC4WPF
// -- Copyright © 2009 Information Control Corporation
// -- Revision History:
// -- Version 0.9.0.0 First codeplex release  - Stephen Giffin

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace MVC4WPF
{
    /// <summary>
    /// Base model contract all models are based on.
    /// </summary>
    public interface IModel : INotifyPropertyChanged, INotifyPropertyChanging, IDisposable
    {
        /// <summary>
        /// Helper method that configures the model. This method is designed to be called by the consuming controller, 
        /// after the model has already been built. This method is only called if additional configuration is needed 
        /// after the model class has been created.
        /// </summary>
        void ConfigureModel();
    }
}
